/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package strategy;

/**
 *
 * @author carlosarboleda
 */
public class Text {


    public static void main(String[] args){
        int[] numeros = {1,2,3,4,5,6,7,8,9};
        ProcesarDatos pd= new ProcesarDatos(new OperacionSuma());
        int r=pd.procesar(numeros);

        System.out.println("Resultado= "+ r);

    }

}
